/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package so.n_3.musicbox.model;

import java.util.Enumeration;

/**
 *
 * @author oasynnoum
 */
public interface AKindOfPlayer {
    
    /**
     * run this player.
     */
    public void play();
    
    /**
     * play next music.
     * @return 
     */
    public boolean nextMusic();
    
    /**
     * play previous music.
     * @return 
     */
    public boolean previousMusic();
    
    /**
     * reset the queue.
     */
    public void reset();
 
    public void add(Playlist playlist);
    
    public void add(Music music);

    public boolean isRunning();
    
    public boolean isStarted();
    
    public void setRunning(boolean running);
    
    public void start();
    
    public Music[] getQueue();
    
    public boolean clearQueue();
    
    public int getCurrentQueuePosition();
}
